Add an evaluation suite for the Workshop agent - #271
Closed
AshishKumar4 wants to merge 5 commits into
Closed
Conversation
This was referenced Aug 19, 2026
Maximo-Guk
reviewed
Aug 19, 2026
AshishKumar4
force-pushed
the
evals/suite
branch
from
August 19, 2026 21:07
04f84ae to
16b53b9
Compare
AshishKumar4
force-pushed
the
evals/suite
branch
from
August 21, 2026 16:56
436e02a to
3f82fd3
Compare
AshishKumar4
force-pushed
the
evals/suite
branch
from
August 24, 2026 17:34
701a62c to
4005619
Compare
AshishKumar4
force-pushed
the
evals/suite
branch
from
August 24, 2026 17:59
4005619 to
82f6767
Compare
AshishKumar4
force-pushed
the
evals/suite
branch
from
August 24, 2026 18:52
1b14351 to
6d1f0c5
Compare
Contributor
Author
|
Closing the stack so the reduced toolkit and eval suite can be reviewed together in one PR against main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds real end-to-end evaluations for the Workshop agent. Stacked on #270, which supplies the shared workerd and Cap'n Web driver.
Execution
Each trial gives the production agent a natural-language task in a real Workshop. The agent builds a Gadget, and the verifier calls that Gadget's real RPC. The same scenario definitions run against:
Run locally with
pnpm evals. SetWORKSHOP_EVAL_TARGETto a preview router URL and provideCF_ACCESS_TOKENto target a deployment.Live cases use
evals/**/*.eval.ts. The package's cachedtesttask includes onlysrc/**/*.test.ts, sopnpm testnever invokes a model. The root eval command invokes the live package directly after the build, preserving credentials outside Vite+ task caching.Framework ownership
The package uses
vitest-evalsfor normalized transcripts, tool calls, errors, usage, timings, scores, the local report UI, and combined GitHub reporting. Repository code is limited to the Workshop target bridge, Gadget RPC verifier, and task content. There is no custom statistics package, report format, trace UI, or shard reducer.Initial scenarios
Checks score observable behavior, not a prescribed implementation technique. Tool failures, agent errors, turns, token usage, cost, and wall time remain diagnostics.
Automation
The
Workshop evalsworkflow has onlyworkflow_dispatch. It never runs on pull requests, pushes, merges, or a schedule. It uses existing AI Gateway secrets, native Vitest sharding, and the pinnedgetsentry/vitest-evalsaction.Live proof on current main
editFilecall, so the new budget methods were absent: 7/9 checks, score 0.78, 29,354 tokens, 13 tools. This is an agent failure recorded by the suite, not hidden as a harness pass.Verification
pnpm buildpnpm testpnpm lint